home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4810 / 4810.xpi / chrome / speeddial.jar / content / additionalStyle.xul < prev    next >
Extensible Markup Language  |  2010-01-31  |  3KB  |  100 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/"?>
  3.  
  4. <!DOCTYPE dialog [
  5. <!ENTITY % editGroupDTD SYSTEM "chrome://speeddial/locale/editGroup.dtd">
  6. %editGroupDTD;
  7. <!ENTITY % editDialDTD SYSTEM "chrome://speeddial/locale/editDial.dtd">
  8. %editDialDTD;
  9. ]>
  10.  
  11. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     id="additionalStyleDialog"
  13.     title="&morestyle.label;"
  14.     ondialogaccept="return onOK(event)"
  15.     ondialogcancel="return onCancel(event)"
  16.     onload="Startup();">
  17.  
  18.     <script type="application/x-javascript" src="additionalStyle.js"/>
  19.  
  20.     <stringbundleset id="stringbundleset">
  21.         <stringbundle id="bundle_editDial" src="chrome://speeddial/locale/editDial.properties"/>
  22.     </stringbundleset>
  23.  
  24.     <checkbox id="font" label="&font.label;" align="left"  oncommand="fontChanged();"/>
  25.     <grid flex="1" class="indent">
  26.         <columns>
  27.             <column/>
  28.             <column/>
  29.         </columns>
  30.         <rows>
  31.             <row align="center">
  32.                 <label id="fontTypeLabel" value="&fontType.label;" control="fontType"/>
  33.                 <menulist id="fontType">
  34.                     <menupopup id="fontTypePopup">
  35.                     </menupopup>
  36.                 </menulist>
  37.             </row>
  38.             <row align="center">
  39.                 <label id="fontSizeLabel" value="&fontSize.label;" control="fontSize"/>
  40.                 <hbox align="center">
  41.                     <textbox id="fontSize" size="3" value="100"/>
  42.                     <label id="fontSizePercent" value="%"/>
  43.                 </hbox>
  44.             </row>
  45.         </rows>
  46.     </grid>
  47.     <hbox align="center" flex="1" class="indent">
  48.         <checkbox id="fontBold" label="&fontBold.label;" align="left"/>
  49.         <checkbox id="fontItalic" label="&fontItalic.label;" align="left" style="margin-left: 1em;"/>
  50.     </hbox>
  51.     <checkbox id="backgroundImage" label="&backgroundImage.label;" align="left" oncommand="backgroundImageChanged();"/>
  52.     <grid flex="1" class="indent">
  53.         <columns>
  54.             <column/>
  55.             <column/>
  56.         </columns>
  57.         <rows>
  58.             <row align="center">
  59.                 <label id="imageLocationLabel" value="&imageLocation.label;" control="imageLocation"/>
  60.                 <textbox id="imageLocation" flex="1"/>
  61.                 <button id="chooseFileButton" label="&chooseFileButton.label;" flex="0" oncommand="showFileBrowser();"/>
  62.             </row>
  63.             <row align="center">
  64.                 <label id="horizontalPositionLabel" value="&horizontalPosition.label;" control="horizontalPosition"/>
  65.                 <menulist id="horizontalPosition">
  66.                     <menupopup>
  67.                         <menuitem label="&horizontalPosition.center;"/>
  68.                         <menuitem label="&horizontalPosition.left;"/>
  69.                         <menuitem label="&horizontalPosition.right;"/>
  70.                     </menupopup>
  71.                 </menulist>
  72.             </row>
  73.             <row align="center">
  74.                 <label id="verticalPositionLabel" value="&verticalPosition.label;" control="verticalPosition"/>
  75.                 <menulist id="verticalPosition">
  76.                     <menupopup>
  77.                         <menuitem label="&verticalPosition.center;"/>
  78.                         <menuitem label="&verticalPosition.top;"/>
  79.                         <menuitem label="&verticalPosition.bottom;"/>
  80.                     </menupopup>
  81.                 </menulist>
  82.             </row>
  83.             <row align="center">
  84.                 <label id="repeatBackgroundLabel" value="&repeatBackground.label;" control="repeatBackground"/>
  85.                 <menulist id="repeatBackground">
  86.                     <menupopup>
  87.                         <menuitem label="&repeatBackground.no;"/>
  88.                         <menuitem label="&repeatBackground.horizontal;"/>
  89.                         <menuitem label="&repeatBackground.vertical;"/>
  90.                         <menuitem label="&repeatBackground.both;"/>
  91.                     </menupopup>
  92.                 </menulist>
  93.             </row>
  94.         </rows>
  95.     </grid>
  96.     <checkbox id="advancedStyle" label="&advancedStyle.label;" oncommand="advancedStyleChanged();"/>
  97.     <spacer flex="1"/>
  98.     <textbox id="advancedStyleBox" multiline="true" rows="3" class="indent"/>
  99. </dialog>
  100.